﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace TaskSchedulingSystemForm.Common
{
    public static class Serializer
    {      
        /// <summary>
        /// 向xml文件插入一个对象作为节点
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="filePath"></param>
        /// <param name="obj"></param>
        public static void ToXmlFile(string filePath ,object obj)
        {
            XmlDocument doc = new XmlDocument();
            doc.Load(filePath);
            XmlNode root = doc.DocumentElement;
        }
    }
}
